<template>
  <div>
    <div class="headertop ">
      <div class="header container_margin">
        <slot name="left"></slot>
        <span class="tltle">{{ title }}</span>
        <slot name="right"></slot>
      </div>
    </div>
    <div class="box"></div>
  </div>
</template>

<script>
export default {
  props: ["title"],
};
</script>

<style lang="less" scoped>
.toback {
  position: relative;
}
.iconnew {
  margin-left: 20px;
  font-size: 50px;
  position: absolute;
  top: -2px;
  left: 15px;
}
.headertop {
  width: 100%;
  position: fixed;
  background: #f8f8f8;
}
.header {
 
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  .tltle {
    color: #000;
    font-size: 16px;
  }

}
.box {
  height: 45px;
}
.van-icon {
  font-size: 25px;
}
</style>